import request from "@/api";

export const lsafeSafetyItemFindByGId = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/findByGId',
        method: 'post',
        data: params
    });
};

export const lsafeSafetyItemPagelist = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/pagelist',
        method: 'post',
        data: params
    });
};

export const lsafeSafetyItemGetInfo = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/getInfoById',
        method: 'post',
        data: params
    });
};

export const lsafeSafetyItemAdd = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/add',
        method: 'post',
        data: params
    });
};

export const lsafeSafetyItemEdit = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/edit',
        method: 'post',
        data: params
    });
};

export const lsafeSafetyItemDelete = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/delete',
        method: 'post',
        data: params
    });
};

export const lsafeSafetyItemUpdelete = (params: Object) => {
    return request({
        url: '/api/lsafe/lsafeSafetyItem/updelete',
        method: 'post',
        data: params
    });
};

